package com.demo.phonerepair.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.phonerepair.module.RepairQueryModule;
import com.demo.phonerepair.pojo.Repair;
import com.demo.phonerepair.pojo.User;
import com.demo.phonerepair.util.Result;

import java.util.List;
import java.util.Map;

public interface RepairService extends IService<Repair> {
    Result<Map<String, Object>> getRepairListByCondition(RepairQueryModule repairQueryModule);
    boolean createRepair(Repair repair);
    // 添加获取接待人员列表的方法声明
    List<User> getAllReceptionist();
    boolean deleteRepair(Integer repairId, Integer userId, String password);
}
